﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLL.Workflows;
using DO.Workflows;

namespace BLL.Workers
{
    public class WorkflowManualTester
    {
        public static void RunWorkflow(Guid workflowID)
        {
            WorkflowDesign wfDesign = WorkflowManager.GetWorkflow(workflowID);
            ManualWorkflowAgent agent = new ManualWorkflowAgent(wfDesign);
            agent.Run();
        }

        public static void RunWorkflow(WorkflowDesign wfDesign)
        {
            ManualWorkflowAgent agent = new ManualWorkflowAgent(wfDesign);
            agent.Run();
        }
    }
}
